package com.springboot.elaticsearch.demo.service;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @Author: jxm
 * @Description:
 * @Date: 2023/3/1 13:47
 * @Version: 1.0
 */
public interface ContentService {

    public boolean saveData(String keyword) throws IOException;

    public List<Map<String,Object>> search(String keyword, Integer pageNo, Integer pageSize)  throws IOException;
}
